<template>
  <view class="content center">
    <image class="logo mt-2px" src="/static/logo.png" />
    <view class="text-area">
      <text class="title">{{ title }}{{ a }}</text>
    </view>
    <div class="fixed w-full h-40px bottom-0 p-safe">
      <button>按钮</button>
    </div>
    <demo />
  </view>
</template>

<script setup lang="ts">
const title = ref('Hello');
const a = ref(import.meta.env.VITE_APP_TITLE);
</script>

<style lang="scss" scoped>
.content {
  flex-direction: column;

  .logo {
    width: 200rpx;
    height: 200rpx;
    margin-top: 200rpx;
    margin-right: auto;
    margin-bottom: 50rpx;
    margin-left: auto;
  }

  .text-area {
    display: flex;
    justify-content: center;
  }

  .title {
    font-size: 36rpx;
    color: #8f8f94;
  }
}
</style>
